<?php
//微信菜单
$this->group(['domain' => env('DOMAIN_ADMIN'),'prefix' => '/wechat/function/menu/'], function() {
	//获取菜单列表
    $this->get('view', 'Fun\MenusController@getLists');
	//更新菜单
    $this->post('update', 'Fun\MenusController@updateMenu');
    //发布
    $this->post('update/release', 'Fun\MenusController@releaseMenu');
    //删除
    $this->delete('delete/{id}', 'Fun\MenusController@deleteMenu')->where('id','[0-9]+');
});